package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_books")
public class MallBooksDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 运费模板ID */
    @TableField("free_template_id")
    private Long freeTemplateId;
    /** RAS商品ID */
    @TableField("ras_goods_id")
    private Long rasGoodsId;
    /** 书名 */
    @TableField("title")
    private String title;
    /** 作者 */
    @TableField("author")
    private String author;
    /** ISBN编码 */
    @TableField("isbn_num")
    private String isbnNum;
    /** 出版社 */
    @TableField("publishing_house")
    private String publishingHouse;
    /** 书籍封面 */
    @TableField("picture")
    private String picture;
    /** 是否上架 0否 1是 */
    @TableField("on_the_shelf")
    private Integer onTheShelf;
    /** 排序 */
    @TableField("sort_order")
    private Long sortOrder;
}
